package am.bll.entity;

/*
 * 账目
 * 
 * @author piglet
 */
import java.util.Date;
import am.bll.entity.basic.Money;
import am.bll.entity.basic.PaymentWay;
import am.bll.entity.basic.Quantifier;

public class AccountItem
{
    private int Id;
    private String Name;
    private Quantifier Amount;
    private Money Total;
    private String PicUrl;
    private Date Time;//Datetime
    private String Target;
    private PaymentWay Payment;
    private String Remark;
    
    /*
     * 获取ID
     */
    public int getId()
    {
        return Id;
    }
    /*
     * 设置ID
     * @param id ID
     */
    public void setId(int id)
    {
        Id = id;
    }
    /*
     * 获取名称
     */
    public String getName()
    {
        return Name;
    }
    /*
     * 设置名称
     * @param name 名称
     */
    public void setName(String name)
    {
        Name = name;
    }
    /*
     * 获取数量
     */
    public Quantifier getAmount()
    {
        return Amount;
    }
    /*
     * 设置数量
     * @param amount 数量
     */
    public void setAmount(Quantifier amount)
    {
        Amount = amount;
    }
    /*
     * 获取总金额
     */
    public Money getTotal()
    {
        return Total;
    }
    /*
     * 设置总金额
     * @param total 总金额
     */
    public void setTotal(Money total)
    {
        Total = total;
    }
    /*
     * 获取图片地址
     */
    public String getPicUrl()
    {
        return PicUrl;
    }
    /*
     * 设置图片地址
     * @param picUrl 图片地址
     */
    public void setPicUrl(String picUrl)
    {
        PicUrl = picUrl;
    }
    /*
     * 获取交易时间
     */
    public Date getTime()
    {
        return Time;
    }
    /*
     * 设置交易时间
     * @param time 交易时间
     */
    public void setTime(Date time)
    {
        Time = time;
    }
    /*
     * 获取交易对象
     */
    public String getTarget()
    {
        return Target;
    }
    /*
     * 设置交易对象
     * @param target 交易对象
     */
    public void setTarget(String target)
    {
        Target = target;
    }
    /*
     * 获取支付方式
     */
    public PaymentWay getPayment()
    {
        return Payment;
    }
    /*
     * 设置支付方式
     * @param payment 交易方式
     */
    public void setPayment(PaymentWay payment)
    {
        Payment = payment;
    }
    /*
     * 获取备注
     */
    public String getRemark()
    {
        return Remark;
    }
    /*
     * 设置备注
     * @param remark 备注
     */
    public void setRemark(String remark)
    {
        Remark = remark;
    }
}
